<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

class Block_type extends Admin_Controller
{
	/**
	* called in module
	*/
	function dropdown()
	{
		global $CI;
		
		// model
		$CI->load->module_model('block_type.block_type_dropdown_model');
		
		// add to view
		$this->add('name', $CI->block_type_dropdown_model->name);
		$this->add('onchange', $CI->block_type_dropdown_model->onchange);
		$this->add('value', $CI->block_type_dropdown_model->value);
		$this->add('items', $CI->block_type_dropdown_model->items);
		
		// view
		$this->view('block_type_dropdown_view');
	}
}